package com.wy.system.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.wy.common.annotation.Excel;
import com.wy.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 物业费记录对象 sys_pay
 *
 * @author ruoyi
 * @date 2023-03-03
 */
public class SysPay extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 物业费记录编号 */
    private Long id;

    /** 物业费记录类型 */
    @Excel(name = "物业费记录类型")
    private String type;

    /** 物业费记录时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "物业费记录时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date payDate;

    /** 物业费记录金额 */
    @Excel(name = "物业费记录金额")
    private Long value;

    /** 房产/车位/员工 */
    @Excel(name = "房产/车位/员工")
    private Long hcId;

    /** 支付用户 */
    @Excel(name = "支付用户")
    private Long user;

    private String remark;

    /** 支付状态 */
    @Excel(name = "支付状态")
    private String status;

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId()
    {
        return id;
    }
    public void setType(String type)
    {
        this.type = type;
    }

    public String getType()
    {
        return type;
    }
    public void setPayDate(Date payDate)
    {
        this.payDate = payDate;
    }

    public Date getPayDate()
    {
        return payDate;
    }
    public void setValue(Long value)
    {
        this.value = value;
    }

    public Long getValue()
    {
        return value;
    }
    public void setHcId(Long hcId)
    {
        this.hcId = hcId;
    }

    public Long getHcId()
    {
        return hcId;
    }
    public void setUser(Long user)
    {
        this.user = user;
    }

    public Long getUser()
    {
        return user;
    }
    public void setStatus(String status)
    {
        this.status = status;
    }

    public String getStatus()
    {
        return status;
    }

    @Override
    public String getRemark() {
        return remark;
    }

    @Override
    public void setRemark(String remark) {
        this.remark = remark;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("type", getType())
            .append("payDate", getPayDate())
            .append("value", getValue())
            .append("hcId", getHcId())
            .append("remark", getRemark())
            .append("user", getUser())
            .append("status", getStatus())
            .toString();
    }
}
